package top.sinfonia.sample.designpattern.behavioral.command;

/**
 * <br>
 * <b>Project:</b> design-pattern-sample<br>
 * <b>Date:</b> 2017/11/7 10:11<br>
 * <b>Author:</b> Asher<br>
 *
 */
public class Client {
    public static void main(String[] args) {
        Receiver receiver = new Receiver();
        Command command = new ConcreteCommand(receiver);
        Invoker invoker = new Invoker(command);
        invoker.action();
    }
}
